package com.tbit.uqbike.webmanager.business.maintain_performance.object.dto.rule;

import com.tbit.uqbike.webmanager.business.maintain_performance.object.dto.Range;
import lombok.Data;

import java.util.List;

/**
 * @description: 基于时间段和有效性的规则
 * @author: qiu.longjie
 * @create: 2025-04-07
 */
@Data
public class IntervalAndValidityBasedRule {

    /**
     * 任务完成时间范围
     */
    private Range<String> completedDuration;

    /**
     * 规则类型
     */
    private String ruleType;

    /**
     * 时段或时效对应绩效配置
     */
    private List<IntervalAndValidityBasedSubRule> subRules;

}
